package com.mpsc.ribbon.consumer.config;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;
/**
 * ribbon 负载均衡算法接口类
 *
 * */
public interface LoadBalancer {

    ServiceInstance instance(List<ServiceInstance> serviceInstanceList);
}
